<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>template</title>
</head>
<body>
<template id="my-paragraph">
  <p>My paragraph</p>
</template>
</body>
<script>
  let template = document.getElementById('my-paragraph');
  let templateContent = template.content;
  document.body.appendChild(templateContent);
</script>
</html>
